package cn.itcast.nems.studentrecord.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import cn.itcast.nems.common.entity.UUIDEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 学籍锁详情
 * </p>
 *
 * @author 刘曙
 * @since 2024-01-18
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("e2_student_record_lock")
public class StudentRecordLock extends UUIDEntity {

    /**
     * 学籍ID
     */
    private String studentRecordId;

    /**
     * 引用单据类型
     */
    private String referenceType;

    /**
     * 引用单据ID
     */
    private String referenceId;

    /**
     * 锁定状态;枚举值：已解锁｜0、锁定｜1
     */
    private Boolean state;
}
